x86: move trampoline location
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 10 Feb 2010 09:20:56 +0000 (09:20 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 10 Feb 2010 09:20:56 +0000 (09:20 +0000)
commite9603f14e3ddf91f2838a6798fab3897fe069259
treedccb0c684d471cbe263cc8e4f015f00e5375af6e
parent01d99a32129bb60ab0e180c7a64b2bd45cf699c1
x86: move trampoline location

A partner of ours is reporting boot failures (Xen not even emitting a
single message) over iSCSI on new (UEFI based) systems. After
pointing at their BIOS initially I finally remembered to take a look
at the memory map a native kernel booted this way see - and voila, the
BIOS reports memory starting at 0x8d000 as reserved. Xen, however,
places about 12k of (trampoline) data at 0x8c000.

For now, move the trampolien down by 4kB to 0x88000. Later we may
choose the location dynamically based on E820 information, if this
proves to be an ongoing problem.

One thing this patch enforces in any case is a single point of
definition for the hard coded location, so that at least adjusting it
won't require more than a single line change in the future.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/boot/Makefile
xen/arch/x86/boot/build32.mk
xen/include/asm-x86/config.h